home *** CD-ROM | disk | FTP | other *** search
- on DoDownPage
- global gSynchMediaPagePropertyList
- if (the name of the member of sprite the clickOn contains "Blank") = 0 then
- doButton(gSynchMediaPagePropertyList)
- if the result = 1 then
- set pageSprite to the clickOn - 2
- puppetSprite(pageSprite, 1)
- set the member of sprite pageSprite to the number of the member of sprite pageSprite + 1
- set pageMemberName to the name of the member of sprite pageSprite
- if (pageMemberName contains "Last") and (pageMemberName contains "Page") then
- puppetSprite(the clickOn, 1)
- set the member of sprite the clickOn to getaProp(gSynchMediaPagePropertyList, the clickOn) - 1
- end if
- puppetSprite(the clickOn - 1, 1)
- set the member of sprite (the clickOn - 1) to getaProp(gSynchMediaPagePropertyList, the clickOn - 1)
- end if
- end if
- end
-
- on DoUpPage
- global gSynchMediaPagePropertyList
- if (the name of the member of sprite the clickOn contains "Blank") = 0 then
- doButton(gSynchMediaPagePropertyList)
- puppetSprite(the clickOn, 1)
- if the result = 1 then
- set pageSprite to the clickOn - 1
- puppetSprite(pageSprite, 1)
- set the member of sprite pageSprite to the number of the member of sprite pageSprite - 1
- set pageMemberName to the name of the member of sprite pageSprite
- if (pageMemberName contains "First") and (pageMemberName contains "Page") then
- puppetSprite(the clickOn, 1)
- set the member of sprite the clickOn to getaProp(gSynchMediaPagePropertyList, the clickOn) - 1
- end if
- puppetSprite(the clickOn + 1, 1)
- set the member of sprite (the clickOn + 1) to getaProp(gSynchMediaPagePropertyList, the clickOn + 1)
- end if
- end if
- end
-